package com.clh.seckill.vo;

import lombok.*;

@AllArgsConstructor
@ToString
@Getter
public enum  RespBeanEnum {
    SUCCESS(200,"SUCCESS"),
    ERROR(500,"服务端异常"),
    LOGIN_ERROR(50010,"用户名或密码错误"),
    LOGIN_ILLEGALITY(50014,"非法操作"),
    BINGD_ERROR(50011,"参数绑定异常"),
    IDENTITY_OUT(50013,"登录过期，请重新登录"),
    EMPTY_STOCK(50021,"商品已经被抢光了哦！"),
    REPEATE_ERROR(50022,"该商品每人限购一件"),
    NOTORDER(50023,"没有查询到您的订单哦"),
    CAPTCHA_ERROR(50026,"验证校验失败，请重新输入！"),
    OPERATION_OFTEN(50027,"操作频繁，稍后再试！"),
    LOGIN_NULL(50012,"用户名或密码为空");
//    NOTMOBILE(50011,"手机格式后误哦");
    private final Integer code;
    private final String message;

}
